package com.atguigu.gulimall.product.vo;

import com.atguigu.gulimall.product.entity.SkuImagesEntity;
import com.atguigu.gulimall.product.entity.SkuInfoEntity;
import com.atguigu.gulimall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

/**
 * @description:
 * @author: Fan Zhongyu
 * @time: 2024/6/14
 */

@Data
public class SkuItemVo {
    // sku基本信息 pms_sku_info
    SkuInfoEntity info;

    boolean hasStock = true;

    // sku图片信息 psm_sku_images
    List<SkuImagesEntity> images;
    // spu销售属性组合
    List<SkuItemSaleAttrVo> saleAttr;
    // spu介绍
    SpuInfoDescEntity desp;
    // spu规格参数
    List<SpuItemAttrGroupVo> groupAttrs;
}
